package cn.iocoder.yudao.module.trade.controller.admin.order.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;


@Schema(description = "管理后台 - 交易订单的excel导出")
@Data
public class TradeOrderExcelRespVO  {
    @ExcelProperty("订单号")
    private String no;

    @ExcelProperty("商品名称")
    private String spuName;

    @ExcelProperty("规格型号")
    private String specifications;

    @ExcelProperty("购买数量")
    private Integer count;

    @ExcelIgnore
    @ExcelProperty("商品实付金额")
    private Integer payPrice;

    @ExcelProperty("单项商品实付金额")
    private Integer payPriceItem;

    @ExcelProperty("收货人姓名")
    private String receiverName;

    @ExcelProperty("联系电话")
    private String receiverMobile;

    @ExcelProperty("收件地址")
    private String receiverAddress;

    @ExcelProperty("订单状态")
    private String statusName;

    //售后状态
    @ExcelIgnore
    private Integer afterSaleStatus;


    @ColumnWidth(20)
    @ExcelProperty("下单时间")
    private LocalDateTime createTime;

    @ColumnWidth(20)
    @ExcelProperty("支付时间")
    private LocalDateTime payTime;


    @ColumnWidth(30)
    @ExcelProperty("备注")
    private String remark;

}
